約 4,528,601 件
https://w.atwiki.jp/satoschi/pages/7734.html
ミンティル語 |Austro-Asiatic languages|Mon-Khmer languages| 言語類型 現用言語 使用文字 type living language writing system ISO 639-3 【mzt】 言語名別称 alternate names Mitil 方言名 dialect names 参考文献 references WEB ISO 639-3 Registration Authority - SIL International the LINGUIST List Ethnologue
https://w.atwiki.jp/satoschi/pages/3406.html
* |Oto-Manguean languages| 言語類型 現用言語 使用文字 ラテン文字【Latn?】 type living language writing system Latin alphabet ISO 639-3 【ctl】 言語名別称 alternate names 方言名 dialect names 参考文献 references WEB ISO 639-3 Registration Authority - SIL International the LINGUIST List Ethnologue Wikipedia
https://w.atwiki.jp/satoschi/pages/7675.html
* |Sino-Tibetan languages|Tibeto-Burman languages|Lolo-Burmese languages| 言語類型 現用言語 使用文字 type living language writing system ISO 639-3 【yit】 言語名別称 alternate names Eastern Lalu Yi 方言名 dialect names 参考文献 references WEB ISO 639-3 Registration Authority - SIL International the LINGUIST List Ethnologue
https://w.atwiki.jp/satoschi/pages/6017.html
リリオ語 |Austronesian languages|Malayo-Polynesian languages|Central-Eastern Malayo-Polynesian languages|Eastern Malayo-Polynesian languages|Oceanic languages|Western Oceanic languages|Meso Melanesian languages| 言語類型 現用言語 使用文字 type living language writing system ISO 639-3 【rri】 言語名別称 alternate names 方言名 dialect names 参考文献 references WEB ISO 639-3 Registration Authority - SIL International the LINGUIST List Ethnologue
https://w.atwiki.jp/sampleisbest/pages/33.html
開発環境 Microsoft Visual C++ 2010 Express (SP1) 実行環境 Microsoft Windows XP Home Edition (SP3) プロジェクトの種類 Win32 コンソール アプリケーション プロジェクト名 isprint アプリケーションの種類 コンソール アプリケーション 追加のオプション 空のプロジェクト 同じexeファイルを実行してもWinXPとWin7では結果が異なる。 解決方法はApplication Compatibility Toolkit(ACT)を使用するか、isprint互換関数を用意するなど。 参考 isprint 関数が文字コード 0xB0 0xDE 0xDF の場合に 0 を返す isprint 関数 _ismbcprint 関数などの戻り値が以前と異なる結果を返す isprint1.c #include locale.h #include stdio.h #include Windows.h void PrintCodeTable(void) { int nHigh; int nLow; int nChar = 0; printf(" 0 1 2 3 4 5 6 7 8 9 A B C D E F\n"); for (nHigh = 0; nHigh 16; nHigh++) { printf("%X_", nHigh); for (nLow = 0; nLow 16; nLow++) { printf(" %c", isprint(nChar++) ? o . ); } printf("\n"); } } int main() { OSVERSIONINFOEX vi; char *psz; vi.dwOSVersionInfoSize = sizeof vi; GetVersionEx((LPOSVERSIONINFO) vi); printf("Win%u.%u Build %u SP%u.%u\n", vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber, vi.wServicePackMajor, vi.wServicePackMinor); psz = setlocale(LC_CTYPE, ""); printf("\n[%s]\n", psz); PrintCodeTable(); return 0; } 実行(WinXP Home) Win5.1 Build 2600 SP3.0 [Japanese_Japan.932] 0 1 2 3 4 5 6 7 8 9 A B C D E F 0_ . . . . . . . . . o . . . . . . 1_ . . . . . . . . . . . . . . . . 2_ o o o o o o o o o o o o o o o o 3_ o o o o o o o o o o o o o o o o 4_ o o o o o o o o o o o o o o o o 5_ o o o o o o o o o o o o o o o o 6_ o o o o o o o o o o o o o o o o 7_ o o o o o o o o o o o o o o o . 8_ . . . . . . . . . . . . . . . . 9_ . . . . . . . . . . . . . . . . A_ . o o o o o o o o o o o o o o o B_ . o o o o o o o o o o o o o o o C_ o o o o o o o o o o o o o o o o D_ o o o o o o o o o o o o o o . . E_ . . . . . . . . . . . . . . . . F_ . . . . . . . . . . . . . . . . 実行(Win7 Home) Win6.1 Build 7601 SP1.0 [Japanese_Japan.932] 0 1 2 3 4 5 6 7 8 9 A B C D E F 0_ . . . . . . . . . o . . . . . . 1_ . . . . . . . . . . . . . . . . 2_ o o o o o o o o o o o o o o o o 3_ o o o o o o o o o o o o o o o o 4_ o o o o o o o o o o o o o o o o 5_ o o o o o o o o o o o o o o o o 6_ o o o o o o o o o o o o o o o o 7_ o o o o o o o o o o o o o o o . 8_ . . . . . . . . . . . . . . . . 9_ . . . . . . . . . . . . . . . . A_ . o o o o o o o o o o o o o o o B_ o o o o o o o o o o o o o o o o C_ o o o o o o o o o o o o o o o o D_ o o o o o o o o o o o o o o o o E_ . . . . . . . . . . . . . . . . F_ . . . . . . . . . . . . . . . . 修正プログラムを試してみたが、Visual C++ .NET 2003までの情報であり解決はしなかった。 また、Application Compatibility Toolkit(ACT)を適用しても結果は同じであった。 isprint2.c #include locale.h #include stdio.h #include Windows.h // 文字種情報を変更します。 void ctypeFix() { static unsigned short ctype2[0xFF]; memcpy(ctype2,_pctype,0xFF*sizeof(unsigned short)); ctype2[0xB0] |= 0x110; ctype2[0xDE] |= 0x110; ctype2[0xDF] |= 0x110; _pctype = ctype2; printf("ctypeFix\n"); } void PrintCodeTable(void) { int nHigh; int nLow; int nChar = 0; printf(" 0 1 2 3 4 5 6 7 8 9 A B C D E F\n"); for (nHigh = 0; nHigh 16; nHigh++) { printf("%X_", nHigh); for (nLow = 0; nLow 16; nLow++) { printf(" %c", isprint(nChar++) ? o . ); } printf("\n"); } } int main() { OSVERSIONINFOEX vi; char *psz; vi.dwOSVersionInfoSize = sizeof vi; GetVersionEx((LPOSVERSIONINFO) vi); printf("Win%u.%u Build %u SP%u.%u\n", vi.dwMajorVersion, vi.dwMinorVersion, vi.dwBuildNumber, vi.wServicePackMajor, vi.wServicePackMinor); psz = setlocale(LC_ALL, "Japanese"); printf("\n[%s]\n", psz); ctypeFix(); // setlocale 関数の呼び出しの後に追加します。 PrintCodeTable(); return 0; } 実行(WinXP Home) Win5.1 Build 2600 SP3.0 [Japanese_Japan.932] ctypeFix 0 1 2 3 4 5 6 7 8 9 A B C D E F 0_ . . . . . . . . . o . . . . . . 1_ . . . . . . . . . . . . . . . . 2_ o o o o o o o o o o o o o o o o 3_ o o o o o o o o o o o o o o o o 4_ o o o o o o o o o o o o o o o o 5_ o o o o o o o o o o o o o o o o 6_ o o o o o o o o o o o o o o o o 7_ o o o o o o o o o o o o o o o . 8_ . . . . . . . . . . . . . . . . 9_ . . . . . . . . . . . . . . . . A_ . o o o o o o o o o o o o o o o B_ . o o o o o o o o o o o o o o o C_ o o o o o o o o o o o o o o o o D_ o o o o o o o o o o o o o o . . E_ . . . . . . . . . . . . . . . . F_ . . . . . . . . . . . . . . . .
https://w.atwiki.jp/javadsge/pages/5584.html
package x2; import java.io.*; public class pro { String[][] mat=new String[500][500]; String[][] data=new String[500][10]; int[] year=new int[500]; int[] month=new int[500]; String[] credit=new String[500]; int[] code_credit=new int[500]; int maxx; int maxy; int fastline=0; int lastline=0; int indexline=0; int n,k; public static void main(String[] args) { pro te=new pro(); } pro(){ int tr=0; maxx=20; maxy=100; for(k=1;k 11;k++){ for(n=0;n 13;n++){ if(k 4){ readxls sub2=new readxls(); sub2.maxx=maxx; sub2.maxy=maxy; sub2.makedata("data/"+k+"(1).xls",n); mat=sub2.mat; } if(k 3){ readxls2 sub21=new readxls2(); sub21.maxx=maxx; sub21.maxy=maxy; sub21.makedata("data/"+k+"(1).xls",n); mat=sub21.mat; } writehtml("ren.html"); int s,sx; for(s=1;s 20;s++){ for(sx=1;sx 5;sx++){ int h=0; if(mat[s][sx].indexOf("北") -1)h=h+1; if(mat[s][sx].indexOf("海") -1)h=h+1; if(h==2)fastline=s; if(h==2)indexline=sx; } } lastline=fastline+46; System.out.println(fastline); System.out.println(lastline); tr=tr+1; writexml("gdata/"+tr+".txt"); } } } void writexml(String file){ int s,sx; try{ PrintWriter pw = new PrintWriter (new BufferedWriter(new FileWriter(file))); for(s=fastline;s lastline+1;s++){ for(sx=1;sx 13;sx++){ pw.print(" year "); pw.print(28-k); pw.print(" /year "); pw.print(" age "); pw.print(n+5); pw.print(" /age "); pw.print(" pref "); pw.print(mat[s][indexline]); pw.print(" /pref "); pw.print(" code_credit "); pw.print(sx); pw.print(" /code_credit "); pw.print(" value "); pw.print(mat[s][sx+indexline]); pw.println(" /value "); } } System.out.println("ファイルに書きこみました。"); pw.close(); } catch(IOException ep){ System.out.println("入出力エラーです。"); } } void writehtml(String file){ int s,sx; try{ PrintWriter pw = new PrintWriter (new BufferedWriter(new FileWriter(file))); pw.println(" html "); pw.println(" head "); pw.println(" meta charset=\"UTF-8\" "); pw.println(" /head "); pw.println(" body "); pw.print(" table rules=\"all\" "); pw.print(" tr "); pw.print(" td "); pw.print(""); pw.print(" /td "); for(sx=1;sx maxx+1;sx++){ pw.print(" th "); pw.print(sx); pw.print(" /th "); } pw.println(" /tr "); for(s=1;s maxy+1;s++){ pw.print(" tr "); pw.print(" th "); pw.print(s); pw.print(" /th "); for(sx=1;sx maxx+1;sx++){ pw.print(" td "); pw.print(mat[s][sx]); pw.print(" /td "); } pw.println(" /tr "); } pw.println(" /table "); pw.println(" /body "); pw.println(" /html "); System.out.println("ファイルに書きこみました。"); pw.close(); } catch(IOException ep){ System.out.println("入出力エラーです。"); } } } package x2; import java.io.*; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.*; public class readxls2 { int maxx,maxy; Cell cc; String[][] mat=new String[50000][500]; int[][] color= new int[50000][500]; void makedata(String file,int number){ try{ FileInputStream is = new FileInputStream(file); Workbook wb = new HSSFWorkbook(is); Sheet sh = wb.getSheetAt(number); int s,sx,j,h; String bb; CellStyle style = wb.createCellStyle(); for(s=1;s maxy+1;s++){ for(sx=1;sx maxx+1;sx++){ mat[s][sx]=""; }} for(s=1;s maxy+1;s++){ Row row = sh.getRow(s-1); j=0; if(row==null)j=100; if(j 50){ for(sx=1;sx maxx+1;sx++){ cc = row.getCell(sx-1); h=0; if(cc==null)h=100; if(h 50){ int type =cc.getCellType(); bb=""; if(type==1)bb=cc.getStringCellValue(); if(type==0)bb=""+cc.getNumericCellValue(); short n1=cc.getCellStyle().getFillBackgroundColor(); color[s][sx]=(int)n1; mat[s][sx]=bb; } } } } } catch (Exception e) {e.printStackTrace();} } } package x2; import org.apache.poi.xssf.usermodel.*; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Cell; import java.io.*; public class readxls { String[][] mat=new String[500][500]; Cell cc; int maxx,maxy; void makedata(String file,int num){ try{ FileInputStream is = new FileInputStream(file); XSSFWorkbook wb = new XSSFWorkbook(is); Sheet sh = wb.getSheetAt(num); int s,sx,j,h; String bb; for(s=1;s maxy+1;s++){ for(sx=1;sx maxx+1;sx++){ mat[s][sx]=""; }} for(s=1;s maxy+1;s++){ Row row = sh.getRow(s-1); j=0; if(row==null)j=100; if(j 50){ for(sx=1;sx maxx+1;sx++){ cc = row.getCell(sx-1); h=0; if(cc==null)h=100; if(h 50){ int type =cc.getCellType(); bb=""; if(type==1)bb=cc.getStringCellValue(); if(type==0)bb=""+cc.getNumericCellValue(); mat[s][sx]=bb; } } } } } catch (Exception e) {e.printStackTrace();} } }
https://w.atwiki.jp/javadsge/pages/7589.html
package tokyo; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.*; public class pro { String[] data=new String[60000]; int s,datanumber; String[] q1=new String[60000]; String[] q2=new String[60000]; String[][] rail_work=new String[60000][31]; String[] rail_school=new String[60000]; public static void main(String[] args) { pro t=new pro(); } pro(){ readx("goto.xml"," ksj originZoneCode "); for(s=1;s datanumber+1;s++){ int p1=data[s].indexOf(" "); int p2=data[s].indexOf(" ",p1); q1[s]=data[s].substring(p1+1,p2); } readx("goto.xml"," ksj destinationZoneCode "); for(s=1;s datanumber+1;s++){ int p1=data[s].indexOf(" "); int p2=data[s].indexOf(" ",p1); q2[s]=data[s].substring(p1+1,p2); } String[] x=new String[50]; x[1]=" ksj railroad_NumberOfTripsForGoingToWork "; x[2]=" ksj railroad_NumberOfTripsForGoingToSchool "; x[3]=" ksj railroad_NumberOfFreeTrips "; x[4]=" ksj railroad_NumberOfBusinessTrips "; x[5]=" ksj railroad_NumberOfTripsForGoingHome "; x[6]=" ksj railroad_TotalNumberOfTrips "; x[7]=" ksj bus_NumberOfTripsForGoingToWork "; x[8]=" ksj bus_NumberOfTripsForGoingToSchool "; x[9]=" ksj bus_NumberOfFreeTrips "; x[10]=" ksj bus_NumberOfBusinessTrips "; x[11]=" ksj bus_NumberOfTripsForGoingHome "; x[12]=" ksj bus_TotalNumberOfTrips "; x[13]=" ksj automobile_NumberOfTripsForGoingToWork "; x[14]=" ksj automobile_NumberOfTripsForGoingToSchool "; x[15]=" ksj automobile_NumberOfFreeTrips "; x[16]=" ksj automobile_NumberOfBusinessTrips "; x[17]=" ksj automobile_NumberOfTripsForGoingHome "; x[18]=" ksj automobile_TotalNumberOfTrips "; x[19]=" ksj motorcycle_NumberOfTripsForGoingToWork "; x[20]=" ksj motorcycle_NumberOfTripsForGoingToSchool "; x[21]=" ksj motorcycle_NumberOfFreeTrips "; x[22]=" ksj motorcycle_NumberOfBusinessTrips "; x[23]=" ksj motorcycle_NumberOfTripsForGoingHome "; x[24]=" ksj motorcycle_TotalNumberOfTrips "; x[25]=" ksj walk_NumberOfTripsForGoingToWork "; x[26]=" ksj walk_NumberOfTripsForGoingToSchool "; x[27]=" ksj walk_NumberOfFreeTrips "; x[28]=" ksj walk_NumberOfBusinessTrips "; x[29]=" ksj walk_NumberOfTripsForGoingHome "; x[30]=" ksj walk_TotalNumberOfTrips "; int tr=2; for(tr=1;tr 31;tr++){ readx("goto.xml",x[tr]); for(s=1;s datanumber+1;s++){ int p1=data[s].indexOf(" "); int p2=data[s].indexOf(" ",p1); rail_work[s][tr]=data[s].substring(p1+1,p2); } System.out.println(rail_work[1][tr]); } writecsv("ren.txt"); } void writecsv(String file){ int s,sx; try{ PrintWriter pw = new PrintWriter (new BufferedWriter(new FileWriter(file))); for(s=1;s datanumber+1;s++){ pw.print(q1[s]); pw.print(","); pw.print(q2[s]); for(sx=1;sx 31;sx++){ pw.print(","); pw.print(rail_work[s][sx]); } pw.println(""); } System.out.println("ファイルに書きこみました。"); pw.close(); } catch(IOException ep){ System.out.println("入出力エラーです。"); } } void readx(String file,String word){ String str; BufferedReader br; int s; s=0; try { br = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF-8")); while((str = br.readLine()) != null) { if(str.indexOf(word) -1)s=s+1; if(str.indexOf(word) -1)data[s]=str; } br.close(); } catch (IOException e) {System.out.println(e);} datanumber=s; } }
https://w.atwiki.jp/bigoyayubi/pages/17.html
#!/usr/bin/perl sub main(){ my @param = (); my @addr = (); my %data = {}; my $length = 0; open(FH, " $ARGV[0]") or die "can t open file"; while( FH ){ @param = split(" ", $_); $length = @param; next if $length 5; @addr = split("-", $param[0]); $data{$param[5]} = hex($addr[1]) - hex($addr[0]); } close(FH); foreach $key ( sort keys %data ){ printf("%-60s, %d\n", $key, $data{$key}); } } main();
https://w.atwiki.jp/ce00582/pages/5123.html
import java.io.*; class report{ int[] x=new int[5000]; int[] y=new int[5000]; String[] report=new String[10000]; String[] data=new String[1000]; String[] link=new String[1000]; String[] web=new String[10000]; String[] credit=new String[500]; String file,str,str1,str2,url; int page,creditnumber,h; int s,sx,datanumber,xmlnumber; int p1,p2,webnumber; int n,nx; String ur1,ur2; public static void main(String [] args) { report test=new report(); } report(){ for(page=169;page 177;page++){ file="link/"; file=file+page; file=file+".txt"; readfile(file); for(n=1;n datanumber+1;n++){ getdata g=new getdata(); g.makedata(data[n]); report[n]=g.data; } nx=0; for(n=1;n datanumber+1;n++){ ur1=data[n].replace("mainb.html",""); xymaker(report[n]); sx=0; for(s=1;s xmlnumber+1;s++){ str=creditmaker(s,report[n]); h=0; if(str.indexOf("href") 1)h=h+1; if(str.indexOf("TARGET") 1)h=h+1; if(h==2)sx=sx+1; if(h==2)credit[sx]=str; } creditnumber=sx/2; for(s=1;s creditnumber+1;s++){ p1=credit[2*s].indexOf("./"); p2=credit[2*s].indexOf("TARGET"); ur2=credit[2*s].substring(p1+2,p2-2); ur2=ur1+ur2; nx=nx+1; web[nx]=ur2.replace("a.html","c.html"); } } webnumber=nx; file="report/"; file=file+page; file=file+".txt"; writefile(file); } } String creditmaker(int s,String str){ int p1,p2; String bara; p1=x[s]; p2=y[s]; bara=str.substring(p1+1,p2); return bara; } void xymaker(String str){ int p1; int s; s=1; p1=str.indexOf(" "); x[1]=p1; while(p1 -1){ p1=str.indexOf(" ",p1+1); if(p1 -1)s=s+1; if(p1 -1)x[s]=p1; } xmlnumber=s; for(s=1;s xmlnumber+1;s++){ y[s]=str.indexOf(" ",x[s]); } } void writefile(String file){ try{ PrintWriter pw = new PrintWriter (new BufferedWriter(new FileWriter(file))); for(s=1;s webnumber+1;s++){ pw.println(web[s]); } System.out.println("ファイルに書きこみました。"); pw.close(); } catch(IOException ep){ System.out.println("入出力エラーです。"); } } void readfile(String file){ String str; BufferedReader br; s=0; try { br = new BufferedReader(new InputStreamReader(new FileInputStream(file),"SJIS")); while((str = br.readLine()) != null) { s=s+1; data[s]=str; } br.close(); } catch (IOException e) {System.out.println(e);} datanumber=s; } }
https://w.atwiki.jp/javadsge/pages/8130.html
package d2; import tool.*; import java.io.*; public class pro { int s,datanumber; String[] data=new String[5000]; String[] subdata=new String[500000]; String[] artist=new String[5000]; int number; public static void main(String[] args) { pro y=new pro(); } pro(){ int tr; for(tr=45500;tr 60552;tr++){ String urlx="http //www.tvdrama-db.com/drama_info/p/id-"+tr; getdata sub=new getdata(); sub.makedata(urlx,"UTF-8"); data=sub.data; datanumber=sub.datanumber; String dd=" div id=\"drama_det_all\" "; String d2="◇テレビドラマデータベース◇"; String t=""; for(s=1;s datanumber+1;s++){ int h=0; if(data[s].indexOf(d2) -1)h=h+1; if(data[s].indexOf("ドラマ詳細データ") -1)h=h+1; if(h==2)t=data[s]; } subdata[1]=t; int s1=0; for(s=1;s datanumber+1;s++){ if(data[s].indexOf(dd) -1)s1=s; } int s2=0; for(s=s1+1;s datanumber+1;s++){ if(data[s].indexOf(" /table ") -1)s2=s; } String str=""; for(s=s1;s s2;s++){ str=str+data[s]; } String[] x=str.split(" /tr "); number=1; int sx; for(s=0;s x.length;s++){ String[] y=x[s].split(" /td "); for(sx=0;sx y.length;sx++){ y[sx]=clean_str(y[sx]); y[sx]=y[sx].trim(); number=number+1; subdata[number]=y[sx]; } } writexml("data/"+tr+".txt"); } } String clean_str(String str){ int kk; String sp=str; for(kk=1;kk 15;kk++){ sp=fresh(sp); } return sp; } String fresh(String strstr){ strstr=""+strstr; int p1=strstr.indexOf(" "); int p2=-1; if(p1 -1)p2=strstr.indexOf(" ",p1); String k=""; if(p2 -1)k=strstr.substring(p1,p2)+" "; String strxp=strstr.replace(k,""); return strxp; } void writexml(String file){ int s,sx; try{ PrintWriter pw = new PrintWriter (new BufferedWriter(new FileWriter(file))); for(s=1;s number+1;s++){ pw.println(subdata[s]); } System.out.println("ファイルに書きこみました。"); pw.close(); } catch(IOException ep){ System.out.println("入出力エラーです。"); } } }